/*******************************************************************
 *                                                                 *
 *  rpcctx.h                                                       *
 *                                                                 *
 *  This file is a part of the eXtremeDB source code               *
 *  Copyright (c) 2001-2012 McObject LLC                           * 
 *  All Rights Reserved                                            *
 *                                                                 *
 *******************************************************************/

#ifndef _MCO_RPC_CONTEXT_H
    #define _MCO_RPC_CONTEXT_H
    
    #ifdef __cplusplus
    extern "C" {
    #endif 

    #include <mcospec.h>
    #include <rpcdict.h>


    typedef struct tag_mco_rpc_named_pointer
    {
        char* name;
        void* ptr;
    } mco_rpc_named_pointer_t, * mco_rpc_named_pointer_p;

    typedef struct tag_mco_rpc_context
    {

        mco_rpc_dict_p dict;

        void* param;

    } mco_rpc_context_t, * mco_rpc_context_p;

    #ifdef __cplusplus
    }
    #endif 

#endif /* _MCO_RPC_CONTEXT_H */
